package com.medvalley.tcm.dao;

import com.medvalley.tcm.domain.UserInfoDetail;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface UserInfoDetailDao extends CrudRepository<UserInfoDetail, Long> {

    UserInfoDetail findOneByUserId(long userId);

    List<UserInfoDetail> findAllByUserIdIn(List<Long> ids);
}
